package cn.micro.keep.accounts.service;

import cn.micro.keep.accounts.entity.AccountDimUser;
import cn.micro.keep.accounts.entity.dto.EditPasswordDTO;
import cn.micro.keep.accounts.entity.dto.UserDTO;
import cn.micro.keep.accounts.entity.vo.UserCommonStatVO;
import cn.micro.keep.accounts.entity.vo.UserDetailVO;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 用户信息表 服务类
 * </p>
 *
 * @author 柘阳科技
 * @since 2023-11-08
 */
public interface AccountDimUserService extends IService<AccountDimUser> {

    boolean editPassword(EditPasswordDTO dto);

    boolean editUserInfo(UserDTO dto);

    AccountDimUser getByUsernameOrPhoneOrOpenId(String value);


    UserDetailVO getDetail(Long userId);

    UserCommonStatVO commonStat();

}
